package com.yao.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每个种类的花的介绍图片
 * </p>
 *
 * @author author
 * @since 2025-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("flowersImages")
@ApiModel(value="Flowers-images对象", description="每个种类的花的介绍图片")
public class FlowersImages implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "花的种类id")
    @TableField("flowersId")
    private Integer flowersId;

    @ApiModelProperty(value = "图片地址")
    @TableField("imageUrl")
    private String imageUrl;


    public FlowersImages() {
    }

    public FlowersImages( Integer id, Integer flowersId, String imageUrl) {
        this.id = id;
        this.flowersId = flowersId;
        this.imageUrl = imageUrl;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return flowersId
     */
    public Integer getFlowersId() {
        return flowersId;
    }

    /**
     * 设置
     * @param flowersId
     */
    public void setFlowersId(Integer flowersId) {
        this.flowersId = flowersId;
    }

    /**
     * 获取
     * @return imageUrl
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * 设置
     * @param imageUrl
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String toString() {
        return "FlowersImages{serialVersionUID = " + serialVersionUID + ", id = " + id + ", flowersId = " + flowersId + ", imageUrl = " + imageUrl + "}";
    }
}
